package cn.bonoon.kernel.io.devices;

import cn.bonoon.kernel.io.AbstractBFile;
import cn.bonoon.kernel.io.FileInfo;
import cn.bonoon.kernel.io.FileStorable;

/**
 * 需要被远程存储的文件，本地存储和远程存储并不在同一个线程里
 * @author jackson
 *
 */
public class RemoteStorageFile extends AbstractBFile implements FileStorable{

//	private String catalog;
	
	private Object files;
	
	public RemoteStorageFile(FileStorable file, FileInfo info) {
		super(file);
//		this.catalog = file.getCatalog();
		this.files = info.getFile();
	}
	
//	@Override
//	public String getCatalog() {
//		return catalog;
//	}
	
	@Override
	public Object getSourceFile() {
		return files;
	}

//	@Override
//	public String getParamenter(String name) {
//		// TODO Auto-generated method stub
//		return null;
//	}
}
